Consistency of Recursive Definitions via Shallow Confluence of Non-Orthogonal Non-Terminating Conditional Term Rewriting Systems with any kind of Extra Variables

نویسندگان

  • Claus-Peter Wirth
  • Bernhard Gramlich
چکیده

Recursive definitions can be adequately and conveniently modeled with left-linear conditional term rewriting systems, provided that non-termination, non-trivial critical pairs, and extra variables are admitted. Confluence of such systems guarantees the object-level consistency of the underlying data types. We present a novel sufficient criterion for shallow confluence, a property which is logically stronger than level confluence and confluence, and which is not only needed as a generalization for the hard inductive proof of the sufficiency of the criterion, but has other applications also, e.g. in functional logic programming. By restricting the introduction of extra variables to binding equations that mirror local variable-declarations and constructor-matching variable-introduction constructs in programming languages (such as and in ML), and by requiring the critical pairs to have somehow complementary literals in their conditions, we arrive at the first decidable confluence criterion with which we can write recursive function definitions adequately and conveniently: It admits non-termination; non-trivial critical pairs; extra variables in right-hand-sides introduced by binding equations and arbitrary extra variables in conditions; and non-proper-orientation, non-right-stability, and non-normality of conditional equations.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Level-Confluence of Conditional Rewrite Systems with Extra Variables in Right-Hand Sides

Level-confluence is an important property of conditional term rewriting systems that allow extra variables in the rewrite rules because it guarantees the completeness of narrowing for such systems. In this paper we present a syntactic condition ensuring level-confluence for orthogonal, not necessarily terminating, conditional term rewriting systems that have extra variables in the right-hand si...

متن کامل

Syntactic Confluence Criteria for Positive/Negative-Conditional Term Rewriting Systems

We study the combination of the following already known ideas for showing confluence of unconditional or conditional term rewriting systems into practically more useful confluence criteria for conditional systems: Our syntactic separation into constructor and non-constructor symbols, Huet’s introduction and Toyama’s generalization of parallel closedness for non-terminating unconditional systems...

متن کامل

Completeness of Narrowing for Orthogonal Conditional Rewrite Systems

Conditional narrowing is underlying computational mechanism of most functional-logic programming languages. It is important to ensure completeness of conditional narrowing for conditional term rewriting systems without assumption of termination because termination is a too severe restriction for programming languages. In this paper we show completeness of conditional narrowing for a kind of ort...

متن کامل

Certifying Confluence of Almost Orthogonal CTRSs via Exact Tree Automata Completion

Suzuki et al. showed that properly oriented, right-stable, orthogonal, and oriented conditional term rewrite systems with extra variables in right-hand sides are confluent. We present our Isabelle/HOL formalization of this result, including two generalizations. On the one hand, we relax proper orientedness and orthogonality to extended proper orientedness and almost orthogonality modulo infeasi...

متن کامل

On Termination and Confluence of Conditional Rewrite Systems

We consider the problem of verifying connuence and termination of conditional term rewriting systems. Recently we have obtained some interesting results for unconditional term rewriting systems (TRSs) which are non-overlapping or, more generally, locally connuent overlay systems. These results provide suucient criteria for termination plus connuence in terms of restricted termination and connue...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2005